package com.anlogic.sdk.openocd;

public class ConfigurationAttributes {
	// ICDTLaunchConfigurationConstants
	public static final String ATTR_PROGRAM_NAME = "org.eclipse.cdt.launch.PROGRAM_NAME";
	public static final String ATTR_PROJECT_NAME = "org.eclipse.cdt.launch.PROJECT_ATTR";
	public static final String ATTR_DEBUG_NAME = "org.eclipse.cdt.dsf.gdb.DEBUG_NAME";
	public static final String ATTR_DEBUGGER_UPDATE_THREADLIST_ON_SUSPEND = "org.eclipse.cdt.dsf.gdb.UPDATE_THREADLIST_ON_SUSPEND";
	
	// IGDBJtagConstants
	public static final String ATTR_USE_REMOTE_TARGET = "org.eclipse.cdt.debug.gdbjtag.core.useRemoteTarget";
	public static final String ATTR_IP_ADDRESS = "org.eclipse.cdt.debug.gdbjtag.core.ipAddress";
	public static final String ATTR_PORT_NUMBER = "org.eclipse.cdt.debug.gdbjtag.core.portNumber";
	public static final String ATTR_LOAD_SYMBOLS = "org.eclipse.cdt.debug.gdbjtag.core.loadSymbols";
	public static final String ATTR_LOAD_IMAGE = "org.eclipse.cdt.debug.gdbjtag.core.loadImage";
	public static final String ATTR_USE_PROJ_BINARY_FOR_SYMBOLS =  "org.eclipse.cdt.debug.gdbjtag.core.useProjBinaryForSymbols";
	public static final String ATTR_USE_PROJ_BINARY_FOR_IMAGE = "org.eclipse.cdt.debug.gdbjtag.core.useProjBinaryForImage";
	public static final String ATTR_SET_STOP_AT = "org.eclipse.cdt.debug.gdbjtag.core.setStopAt";
	public static final String ATTR_STOP_AT = "org.eclipse.cdt.debug.gdbjtag.core.stopAt";
	
	
	// public static final String PREFIX = Activator.PLUGIN_ID;
	public static final String PREFIX = "ilg.gnumcueclipse.debug.gdbjtag.openocd";

	// ------------------------------------------------------------------------

	// TabDebugger

	// Must be in sync with plugin.xml definition
	public static final String JTAG_DEVICE = "GNU MCU OpenOCD";

	public static final String DO_START_GDB_SERVER = PREFIX + ".doStartGdbServer"; //$NON-NLS-1$

	public static final String GDB_SERVER_EXECUTABLE = PREFIX + ".gdbServerExecutable"; //$NON-NLS-1$

	public static final String GDB_SERVER_CONNECTION_ADDRESS = PREFIX + ".gdbServerConnectionAddress"; //$NON-NLS-1$

	public static final String GDB_SERVER_GDB_PORT_NUMBER = PREFIX + ".gdbServerGdbPortNumber"; //$NON-NLS-1$
	public static final String GDB_SERVER_TELNET_PORT_NUMBER = PREFIX + ".gdbServerTelnetPortNumber"; //$NON-NLS-1$
	public static final String GDB_SERVER_TCL_PORT_NUMBER = PREFIX + ".gdbServerTclPortNumber"; //$NON-NLS-1$

	public static final String GDB_SERVER_LOG = PREFIX + ".gdbServerLog"; //$NON-NLS-1$

	public static final String GDB_SERVER_OTHER = PREFIX + ".gdbServerOther"; //$NON-NLS-1$

	public static final String DO_GDB_SERVER_ALLOCATE_CONSOLE = PREFIX + ".doGdbServerAllocateConsole"; //$NON-NLS-1$

	public static final String DO_GDB_SERVER_ALLOCATE_TELNET_CONSOLE = PREFIX + ".doGdbServerAllocateTelnetConsole"; //$NON-NLS-1$

	public static final String DO_START_GDB_CLIENT = PREFIX + ".doStartGdbCLient"; //$NON-NLS-1$

	public static final String GDB_CLIENT_OTHER_OPTIONS = PREFIX + ".gdbClientOtherOptions"; //$NON-NLS-1$

	public static final String GDB_CLIENT_OTHER_COMMANDS = PREFIX + ".gdbClientOtherCommands"; //$NON-NLS-1$

	// ------------------------------------------------------------------------

	// TabStartup
	public static final String DO_FIRST_RESET = PREFIX + ".doFirstReset"; //$NON-NLS-1$
	public static final String FIRST_RESET_TYPE = PREFIX + ".firstResetType"; //$NON-NLS-1$

	public static final String ENABLE_SEMIHOSTING = PREFIX + ".enableSemihosting"; //$NON-NLS-1$

	public static final String OTHER_INIT_COMMANDS = PREFIX + ".otherInitCommands"; //$NON-NLS-1$

	public static final String DO_DEBUG_IN_RAM = PREFIX + ".doDebugInRam"; //$NON-NLS-1$

	public static final String DO_SECOND_RESET = PREFIX + ".doSecondReset"; //$NON-NLS-1$

	public static final String SECOND_RESET_TYPE = PREFIX + ".secondResetType"; //$NON-NLS-1$

	public static final String OTHER_RUN_COMMANDS = PREFIX + ".otherRunCommands"; //$NON-NLS-1$

	public static final String DO_CONTINUE = PREFIX + ".doContinue"; //$NON-NLS-1$

	// ------------------------------------------------------------------------
	//                         custom attributes
	// --------------------------------------------------------------------------
	public static final String GDB_SERVER_INIT_PARAM = PREFIX + ".gdbServerInitParam"; //$NON-NLS-1$

	public static final String GDB_SERVER_CABLE = PREFIX + ".gdbServerCable"; //$NON-NLS-1$

	public static final String GDB_SERVER_RBB_PORT_NUMBER = PREFIX + ".rbbServerPortNumber"; //$NON-NLS-1$

	public static final String DO_ENABLE_PJTAG = PREFIX + ".doEnablePjtag"; //$NON-NLS-1$

	public static final String DO_START_GDB_CLIENT_CLI = PREFIX + ".doStartGdbCLientCli"; //$NON-NLS-1$
	public static final String GDB_CLIENT_CLI_PORT_NUMBER = PREFIX + ".gdbClientCliPortNumber"; //$NON-NLS-1$

	public static final String REMOTE_RBB_PORT_NUMBER = PREFIX + ".rbbPortNumber"; //$NON-NLS-1$

	public static final String DO_ALLOCATE_TELNET_CONSOLE = PREFIX + ".doAllocateTelnetConsole"; //$NON-NLS-1$

	public static final String REMOTE_TELNET_PORT_NUMBER = PREFIX + ".telnetPortNumber"; //$NON-NLS-1$

	public static final String TARGET_ARCHITECTURE = PREFIX + ".architecture"; //$NON-NLS-1$

	public static final String ENABLE_CROSS_TRIGGER = PREFIX + ".enableCrossTrigger"; //$NON-NLS-1$

	public static final String CROSS_TRIGGER_MODEL = PREFIX + ".crossTriggerModel"; //$NON-NLS-1$

	public static final String DO_PROGRAM_FPGA = PREFIX + ".doProgramFPGA"; //$NON-NLS-1$
	public static final String BITSTREAM_FILE = PREFIX + ".bitstreamFile"; //$NON-NLS-1$

	public static final String RUN_PLAT_INIT = PREFIX + ".runPlatInit"; //$NON-NLS-1$
}
